package com.ship.dispatch.service;

import com.ship.common.business.service.BaseService;
import com.ship.common.core.base.Page;
import com.ship.common.core.web.domain.JsonResult;
import com.ship.dispatch.bean.TzFuelRecord;

import java.io.FileNotFoundException;
import java.io.IOException;

/**
* @author zhangyh
* @description 针对表【tz_fuel_record(燃油台账燃油记录信息)】的数据库操作Service
* @createDate 2024-06-17 11:31:48
*/
public interface TzFuelRecordService extends BaseService<TzFuelRecord> {
    /**
     * 船舶报文燃油消耗记录数据同步
     * @param dto
     */
    void dataTransfer(TzFuelRecord dto);

    /**
     * 分页
     * @param dto
     * @return
     */
    JsonResult<Page<TzFuelRecord>> getPage(TzFuelRecord dto);

    /**
     * 导出
     * @param dto
     * @return
     */
    JsonResult dataExport(TzFuelRecord dto) throws IOException;
}
